﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<meta charset="utf-8">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="description" content="..." />
        <meta name="keywords" content="..." />
		<?php  $this->headLink()->appendStylesheet('/css/gh-buttons.css') ?>
		<?php  $this->headLink()->appendStylesheet('/css/estilos.css') ?>
		<?php echo $this->headLink()->appendStylesheet('/css/jquery-ui-1.8.16.custom.css') ?>

		<script type="text/javascript" src="<?php echo $this->baseUrl("/js/jquery-1.7.1.min.js");?>"></script>
		<script type="text/javascript" src="<?php echo $this->baseUrl("/js/jquery-ui-1.8.16.custom.min.js");?>"></script>

        <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>-->
        
        <title>Tu Trabajo Ya! | Admin Panel</title>
    </head>   
    <body id="home" class="home">
		<?php
			$auth = Zend_Auth::getInstance();

			if ($auth->hasIdentity()) {
				$identity = $auth->getIdentity();
				
				if (isset($identity)) {
		?>
		<div class="user-menu">
			<ul class="user-options">
				<li>Bienvenido, <em><?php echo $identity['identity']; ?></em> &middot; Opciones: </li>
				<li><a href="<?php echo $this->baseUrl("/admin/panel");?>">Panel</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/busquedaslistar");?>">Busquedas</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/categoriaslistar");?>">Categorias</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/empresaslistar");?>">Empresas</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/postulanteslistar");?>">Postulantes</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/sugeridoslistar");?>">Sugeridos</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/administradoreslistar");?>">Administradores</a></li>
				<li><a href="<?php echo $this->baseUrl("/admin/salir");?>">Salir</a></li>
			</ul>
		</div>
		<?php
					//printf('<div class="mod-login"><p class="user">Bienvenido, <em>%s</em> &middot; <a href="/empresas/salir">Salir</a></p></div>', $identity);
				}
			}
						
		?>
     <div id="cabecera">
            <div class="wrap">
                
                <!-- Logo start -->
                  <a id="logo" href="<?php echo $this->baseUrl("/");?>"><img src="<?php echo $this->baseUrl("img/logo.png"); ?>" width="208" height="38" alt="tu trabajo ya"></a>
                <!-- Logo end -->
        
                <hr class="noscreen noprint" />
        
               
            </div>
        </div>
        
        <hr class="noscreen" />       
        <?php echo $this->layout()->content ?>
		<hr class="noscreen" />

        
     <!--pie -->
        
        <p class="pie">
            <span class="floatLeft">&copy; <?=date("Y");?> - <a href="/">tu trabajo y&aacute;</a></span>
            
                
        </p>
        
        <!-- fin pie-->
        
           </body>
</html>
